package com.chanta.shared;

import java.io.Serializable;

/**
 * TODO Please comment this class..
 * 
 * @author Hakan Özdemir - Vendoo Inc.
 * @date 07.11.2013
 * 
 */
public class ChantaException extends RuntimeException implements Serializable {

	private static final long serialVersionUID = 1L;
	private String customMessage;

	public ChantaException() {
		this("");
	}

	/**
	 * The constructor.
	 * 
	 * @param string
	 */
	public ChantaException(String message) {
		super();
		this.customMessage = message;
	}

	/**
	 * Getter for customMessage.
	 * 
	 * @return customMessage
	 */
	public String getCustomMessage() {
		return customMessage;
	}

	/**
	 * Setter for customMessage.
	 * 
	 * @param customMessage
	 *            the customMessage to set
	 */
	public void setCustomMessage(String customMessage) {
		this.customMessage = customMessage;
	}
}
